STAND=-std=c++14
LIBS=-lmuduo_net -lpthread -lmuduo_base -ljsoncpp -luuid

all:server client register server2
server:server.cpp
	g++  $(STAND) $^ -o $@ $(LIBS)

client:client.cpp
	g++ $(STAND) $^ -o $@ $(LIBS)

register:registerServer.cpp
	g++ -g $(STAND) $^ -o $@ $(LIBS)

server2:server2.cpp
	g++ $(STAND) $^ -o $@ $(LIBS)

.PHONY:clean
clean:
	rm -rf server client register server2